<include file="Public/common" />
<block name="css">
    <style>
        .row{padding:10px;}
        h4{padding:10px 0; background:#d9edf7;
            text-indent:10px;}
        th{text-align: center;}
    </style>
</block>
<block name="content">
    <h4 >订单信息</h4>
    <section class="order-detail container">
        <div class="row">
            <div class="col-xs-2 text-right border ">订单状态：</div>
            <div class="col-xs-4 ">{$orderInfo.order_status}</div>
            <div class="col-xs-2 text-right border ">线路名称：</div>
            <div class="col-xs-4 ">{$orderInfo.line_name}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border ">订单号：</div>
            <div class="col-xs-4 ">{$orderInfo.order_num}</div>
            <div class="col-xs-2 text-right border">出团日期：</div>
            <div class="col-xs-4 ">{$orderInfo.out_time}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border">下单时间：</div>
            <div class="col-xs-4 ">{$orderInfo.create_time}</div>
            <div class="col-xs-2 text-right border">出游人数：</div>
            <div class="col-xs-4 ">{$orderInfo.headcount}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border">联系人：</div>
            <div class="col-xs-4 ">{$orderInfo.tourists_name}</div>
            <div class="col-xs-2 text-right border">团号：</div>
            <div class="col-xs-4 ">{$orderInfo.group_num}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border">订单备注：</div>
            <div class="col-xs-4 ">{$orderInfo.order_remarks}</div>
        </div>
    </section>
    <!-- 发票明细 -->
    <h4>发票明细</h4>
    <section>
        <div class="row">
                <div class="col-xs-2 text-right border ">发票代码：</div>
                <div class="col-xs-4 ">{$invoice.receipt_code}</div>
                <div class="col-xs-2 text-right border ">发票号码：</div>
                <div class="col-xs-4 ">{$invoice.receipt_num}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border ">发票金额：</div>
            <div class="col-xs-4 ">{$invoice.receipt_amount}</div>
            <div class="col-xs-2 text-right border">开具人：</div>
            <div class="col-xs-4 ">{$invoice.open_user}</div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-right border">发票抬头：</div>
            <div class="col-xs-4 ">{$invoice.receipt_rise}</div>
            <div class="col-xs-2 text-right border">发票内容：</div>
            <div class="col-xs-4 ">{$invoice.receipt_content}</div>
        </div>

        <div class="row">
            <div class="col-xs-2 text-right border">备注：</div>
            <div class="col-xs-4 ">{$invoice.remarks}</div>
        </div>
    </section>

    <h4>游客信息</h4>
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <thead>
            <tr>
                <!--<th>子订单号</th>-->
               <!-- <th>游客状态</th>-->
                <th>游客</th>
                <th>游客个人信息</th>
                <th>备注</th>
               <!-- <th>团费</th>
                <th>保险</th>
                <th>单房差</th>
                <th>附加产品</th>
                <th>总金额</th>
                -->
            </tr>
        </thead>
        <tbody>
            <volist name="tourist" id="vo">
                <tr>
                   <!-- <td>{$vo.tourists_id}</td>-->
                    <<!--td><span class="label label-success">生效</span></td>-->
                    <td>
                        <switch name="vo.tourists_type">
                            <case value="1">成人</case>
                            <case value="2">老人</case>
                            <case value="3">儿童</case>
                        </switch>
                        <if condition="$vo['is_contact'] eq 1">
                            <span class="label label-danger">联系人</span>
                        </if>
                    </td>
                    <td class="text-left">
                        姓名：{$vo.tourists_name}<br/>
                        性别：<if condition="$vo['tourists_sex'] eq 1">男<else/>女</if><br/>
                        身份证：{$vo.documents_num}<br/>
                        手机：{$vo.tourists_phone}<br/>
                    </td>
                    <td>
                        {$vo.tourists_remarks}
                    </td>
                    <!--  <td>1212</td>

                    <td>-</td>
                    <td>是否产生单房差：否</td>
                    <td>无</td>
                    <td>1899</td>
                    <td>无</td>-->

                </tr>
            </volist>
        </tbody>
    </table>
</block>
<block name="js">


</block>
